@extends('common.layouts')
@section('content')
<div class="content-wrap">
        <div class="main">
            <div class="container-fluid">
                <div class="main-content">
                    <div class="row">
                        <div class="col-lg-9">
                            <div class="card alert">
                                <div class="panel panel-default">
                                    <div class="card-header">
                                        <h4>@yield('headerTitle',"用户详情")</h4>
                                    </div>
                                    <table class="table table-bordered table-striped table-hover">
                                        <tbody>
                                            <tr>
                                                <td width="50%">ID</td>
                                                <td>{{ $userDetail->id }}</td>
                                            </tr>
                                            <tr>
                                                <td>账户名</td>
                                                <td>{{ $userDetail->userName }}</td>
                                            </tr>
                                            <tr>
                                                <td>账户密码</td>
                                                <td>{{ $userDetail->userPassword }}</td>
                                            </tr>
                                            <tr>
                                                <td>用户手机</td>
                                                <td>{{ $userDetail->phone }}</td>
                                            </tr>
                                            <tr>
                                                <td>用户地址</td>
                                                <td>{{ $userDetail->address }}</td>
                                            </tr>
                                            <tr>
                                                <td>创建时间</td>
                                                <td>{{ $userDetail->created_at }}</td>
                                            </tr>
                                            <tr>
                                                <td>最后修改时间</td>
                                                <td>{{ $userDetail->updated_at }}</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <button type="button" onclick="history.go(-1)" class="btn btn-info btn-lg" style="margin-left:45%;">返回</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
 @endsection
